window.EcExtension?.ready?.(() => {
    if (window.ecodeSDK && location.hash.startsWith('#/main/workflow/req')) {
        window.EcExtension.Menus.register('编辑代码块', () => {
            window.EcExtension.popup({
                title: 'test',
                view: 'tt'
            })
        })
    }
})